package com.hnchances.service;

import com.hnchances.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hnchances.vo.Result;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xyp
 * @since
 */
public interface UserService extends IService<User> {
    //注册
    public Result register(User user);
    //获取验证码
    public Result getCode(String phone);
    //登录
    public Result login(User user);
    //修改
    public Result update(User user);
    //删除
    public Result delete(String id);
}
